# include  "common.h"
#include  "interrupt.h"
#include "clock.h"
#include "uart.h"
#include <linux/kernel.h>
uint8_t button_status=0;
char g_charA = 'A'; //存储在 .data段
char g_charB = 'A'; //存储在 .data段

/*提示字符串*/
uint8_t txbuff[] = "Uart polling example\r\nBoard will send back received characters\r\n";

int main()
{

    //用于暂存串口收到的字符
    uint8_t ch; 
    /*系统时钟初始化*/
    system_clock_init();
   /*GIC中断和中断向量表初始化*/
    irq_init();
    /*串口初始化*/
    uart_init();
    /*发送提示字符串*/
    printk("abcdhahaha\n");

    return 0;    
}

